const state = {
	rinseInfo: {

	},
	photoList: []
}

const actions = {
	test({
		commit
	}, {
		data
	}) {
		commit('mutations', data)
	},
}

const mutations = {
	setRinseInfo: (state, info) => {
		console.error('SETTER', info);
		state.rinseInfo = info
	},
	setPhotoList: (state, info) => {
		console.error('SETTER', info);
		state.photoList = info
	},
}

const getters = {
	getRinseInfo: state => {
		console.error('GETTER', state.rinseInfo);
		return state.rinseInfo;
	},
	getPhotoList: state => {
		console.error('GETTER', state.photoList);
		return state.photoList;
	}
}

export default {
	namespaced: true,
	state,
	actions,
	mutations,
	getters
}